package kau.vo;

public class CurriPlan {
	private int courseId;
	private int week;	// 몇주차인지
	private String content;
	
	public CurriPlan() {}

	public CurriPlan(int courseId, int week, String content) {
		super();
		this.courseId = courseId;
		this.week = week;
		this.content = content;
	}


	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public int getWeek() {
		return week;
	}

	public void setWeek(int week) {
		this.week = week;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + courseId;
		result = prime * result + week;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CurriPlan other = (CurriPlan) obj;
		if (courseId != other.courseId)
			return false;
		if (week != other.week)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "CurriPlan [courseId=" + courseId + ", week=" + week
				+ ", content=" + content + "]";
	}


	
	
}
